﻿using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ShopBack.Web.Controllers
{
    [Authorize]
    public class HomeController : Controller
    {
        // GET: Home
        public ActionResult Index()
        {
            string userName = User.Identity.Name;
            ViewBag.name = userName;
            var list = V_UserModuleService.GetV_UserModuleMessage(userName);
            return View(list);
        }
        public ActionResult Main()
        {
            return View();
        }
    }
}